/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ststat.project2;

/**
 *
 * @author Vilson
 */
public class DataPoint {
    private int x;
    private double value;

    public DataPoint(int x, double value){
        this.x = x;
        this.value = value;
    }
    
    /**
     * @return the x
     */
    public int getX() {
        return x;
    }

    /**
     * @param x the x to set
     */
    public void setX(int x) {
        this.x = x;
    }

    /**
     * @return the value
     */
    public double getValue() {
        return value;
    }

    /**
     * @param value the value to set
     */
    public void setValue(double value) {
        this.value = value;
    }
        
}
